Conversation
20829a6 to
3141ee4
Compare
Member
Author
Member
|
ofborg vm tests seemed to fail |
Member
Author
|
Opened https://gitlab.gnome.org/GNOME/gdk-pixbuf/-/merge_requests/94, can be tested using diff --git a/nixos/tests/installed-tests/gdk-pixbuf.nix b/nixos/tests/installed-tests/gdk-pixbuf.nix
index 3d0011a427a..b6e3a9fa225 100644
--- a/nixos/tests/installed-tests/gdk-pixbuf.nix
+++ b/nixos/tests/installed-tests/gdk-pixbuf.nix
@@ -1,7 +1,22 @@
{ pkgs, makeInstalledTest, ... }:
makeInstalledTest {
- tested = pkgs.gdk-pixbuf;
+ tested = pkgs.gdk-pixbuf.overrideAttrs (attrs: rec {
+ inherit (attrs) pname;
+ version = "2.42.2";
+ src = pkgs.fetchurl {
+ url = "mirror://gnome/sources/${pname}/${pkgs.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
+ sha256 = "05ggmzwvrxq9w4zcvmrnnd6qplsmb4n95lj4q607c7arzlf6mil3";
+ };
+ patches = attrs.patches ++ [
+ # Skip tests that are not built.
+ # https://gitlab.gnome.org/GNOME/gdk-pixbuf/merge_requests/94
+ (pkgs.fetchpatch {
+ url = "https://gitlab.gnome.org/GNOME/gdk-pixbuf/commit/b7611c4bcb5e728db5dba63f46aa71e4473dc23e.patch";
+ sha256 = "73rmPnUgjVKKN+18vFezPIBV5UZC51Hryc99WEN7uDA=";
+ })
+ ];
+ });
testConfig = {
# Tests allocate a lot of memory trying to exploit a CVE |
Member
|
Please target staging. |
Member
Author
|
This is a security fix so it should go to master |
Member
This is only true for non 5000+ mass rebuilds. |
TredwellGit
approved these changes
Dec 10, 2020
Member
TredwellGit
left a comment
There was a problem hiding this comment.
I rebuilt my personal system with this while testing #104091.
Member
|
@jtojnar I commented at NixOS/rfcs#26 (comment) |
Member
Member
|
Actually, the patch for CVE-2020-29385 applies cleanly: #111542 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Motivation for this change
Fixes CVE-2020-29385
https://ftp.gnome.org/pub/GNOME/sources/gdk-pixbuf/2.42/gdk-pixbuf-2.42.2.news
Things done
sandboxinnix.confon non-NixOS linux)nix-shell -p nixpkgs-review --run "nixpkgs-review wip"./result/bin/)nix path-info -Sbefore and after)